<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<link type="text/css" rel="styleSheet" href="./css/Menu.css" />
<script type="text/javascript" src="./js/menu.js" charset="utf-8"></script>
</head>
<div class="menu">
	<div class="menuLeft">
		用户名：<input name="user" type="text"
			onkeyup="value=value.replace(/[^\w\.\/]/ig,'')">密码：<input
			name="pwd" type="password">
	</div>
	<div class="menuM">
		用户名：
	</div>
	<div class="menuRight">
		<ul>
			<s:if test="#session.existUser == null">
				<li id="headerLogin" class="headerLogin""><a name="loginIn"
					href="javascript:void(0);" onclick="login()">登录</a>|</li>
				<li id="headerRegister" class="headerRegister"><a name="register"
					href="javascript:void(0);" onclick="register()">注册</a>|
				</li>
			</s:if>
			<s:else>
				<li id="headerLogin" class="headerLogin"><s:property
						value="#session.existUser.name" />
				</li>
				<li id="headerRegister" class="headerRegister"><a name="exit"
					href="javascript:void(0);" onclick="exit()">退出</a>
				</li>
			</s:else>
		</ul>
	</div>
</div>
